<div class="property-filter property-search widget list-your-property-form">
    <div class="content">
        <form class="jr-row" name="frmSearch" id="frmSearch" method="post" enctype="multipart/form-data" action="<?php echo base_url(); ?>listing-rows.html">
            <div class="row">
                <div class="span8">
                    <div class="widget properties span2">
                        <div class="rent control-group">
                            <div class="controls">
                                <label class="radio" for="inputLocal">
                                    <input type="radio" id="inputLocal" name="localorint" checked="checked"> Singapore
                                </label>
                            </div><!-- /.controls -->
                        </div><!-- /.control-group -->
                        <div class="sale control-group">
                            <div class="controls">
                                <label class="radio" for="inputInternational">
                                    <input type="radio" id="inputInternational" name="localorint"> International
                                </label>
                            </div><!-- /.controls -->
                        </div><!-- /.control-group -->
                    </div>
                    <div class="widget span2">
                        <div class="type control-group">
                            <div class="controls">
                                <select id="inputPropertyFor">
                                    <option id="forsale" value="Sale" selected="selected">For Sale</option>
                                    <option id="forrent" value="Rent">For Rent</option>
                                </select>
                            </div><!-- /.controls -->
                        </div><!-- /.control-group -->
                    </div>
                    <div class="widget span3">
                        <div class="txtarea control-group">
                            <label class="control-label" for="inputArea">
                                Area
                            </label>
                        </div><!-- /.control-group -->
                        <div class="beds control-group">
                            <div class="controls">
                                <input type="text" placeholder="From" name="area_min">
                            </div><!-- /.controls -->
                        </div><!-- /.control-group -->

                        <div class="baths control-group">
                            <div class="controls">
                                <input type="text" placeholder="To" name="area_maxs">
                            </div><!-- /.controls -->
                        </div><!-- /.control-group -->

                    </div>
                    <div class="widget span2">
                        <div class="location control-group">
                            <div class="controls">
                                <select id="inputPropertyContractType" name="location">
                                    <?php foreach ($location as $item) { ?>
                                        <option value="<?php echo $item->LocationID; ?>"><?php echo $item->LocationName; ?></option>
                                    <?php } ?>
                                </select>
                            </div><!-- /.controls -->
                        </div><!-- /.control-group -->
                    </div>
                    <div class="widget span2">
                        <div class="type control-group">
                            <div class="controls">
                                <select id="inputPropertyPropertyType" name="propertytype">
                                    <?php foreach ($property_type as $item) { ?>
                                        <option value="<?php echo $item->PropertyType_ID; ?>"><?php echo $item->Name; ?></option>
                                    <?php } ?>
                                </select>
                            </div><!-- /.controls -->
                        </div><!-- /.control-group -->
                    </div>
                    <div class="widget span3">
                        <div class="control-group">
                            <div class="controls">
                                <input type="text" placeholder="Enter Keyword">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="widget span2">
                    <div class="control-group">
                        <div class="form-actions">
                            <input type="submit" class="btn btn-primary btn-circle" value="Search Now">
                        </div>
                    </div>
                    <div class="control-group">
                        <div class="form-actions">
                            <a href="#advanced-search" class="btn btn-primary btn-plus top advanced-search">Advanced Search</a>
                        </div>
                    </div>
                </div>
                <div class="widget span2">
                    <div class="control-group">
                        <div class="form-actions">
                            <input type="button" class="btn btn-primary btn search-by-map" onclick="searchByMap();" value="Search By Map">
                        </div>
                    </div>
                </div>
            </div>
        </form>            
    </div>
</div>
